package com.neusoft.elm.po;

import java.math.BigDecimal;
import java.util.List;

public class Orders {
	private Integer orderId;
	 private String userId;
	 private Integer businessId;
	 private String orderDate;
	 private BigDecimal orderTotal;
	 private Integer daId; //送货地址编号
	 private Integer orderState; //订单状态（0：未支付； 1：已支付）
	 private String contactName;
	    private Integer contactSex;
	    private String contactTel;
	    private String address;
	 public String getContactName() {
			return contactName;
		}
		public void setContactName(String contactName) {
			this.contactName = contactName;
		}
		public Integer getContactSex() {
			return contactSex;
		}
		public void setContactSex(Integer contactSex) {
			this.contactSex = contactSex;
		}
		public String getContactTel() {
			return contactTel;
		}
		public void setContactTel(String contactTel) {
			this.contactTel = contactTel;
		}
		public String getAddress() {
			return address;
		}
		public void setAddress(String address) {
			this.address = address;
		}
	//多对一：所属商家
	 private Business business;
	 //一对多：订单明细
	 private List<OrderDetailet> list;
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public Integer getBusinessId() {
		return businessId;
	}
	public void setBusinessId(Integer businessId) {
		this.businessId = businessId;
	}
	public String getOrderDate() {
		return orderDate;
	}
	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}
	public BigDecimal getOrderTotal() {
		return orderTotal;
	}
	public void setOrderTotal(BigDecimal orderTotal) {
		this.orderTotal = orderTotal;
	}
	public Integer getDaId() {
		return daId;
	}
	public void setDaId(Integer daId) {
		this.daId = daId;
	}
	public Integer getOrderState() {
		return orderState;
	}
	public void setOrderState(Integer orderState) {
		this.orderState = orderState;
	}
	public Business getBusiness() {
		return business;
	}
	public void setBusiness(Business business) {
		this.business = business;
	}
	public List<OrderDetailet> getList() {
		return list;
	}
	public void setList(List<OrderDetailet> list) {
		this.list = list;
	}
	 
	 //get、set ... ...
	 
}
